-
Notifications
You must be signed in to change notification settings - Fork 67
SWIFT-696 Update installation instructions to mention required system libraries #405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SWIFT-696 Update installation instructions to mention required system libraries #405
Conversation
| ### Step 1: Install the MongoDB C Driver | ||
| The driver wraps the MongoDB C driver, and using it requires having the C driver's two components, `libbson` and `libmongoc`, installed on your system. **The minimum required version of the C Driver is 1.15.3**. | ||
| ### Step 1: Install required system libraries (Linux Only) | ||
| The driver vendors and wraps the MongoDB C driver (`libmongoc`), which depends on a number of external C libraries when built in Linux environments. As a result, these libraries must be installed on your system in order to build MongoSwift. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I decided to just keep relying on libmongoc's instructions so that we don't have to update this all the time. The one caveat with that is that it includes cmake as a dependency, which isn't necessary for us. That doesn't seem like too big of a deal to me though.
|
|
||
| ### Step 1: Install the MongoDB C Driver | ||
| The driver wraps the MongoDB C driver, and using it requires having the C driver's two components, `libbson` and `libmongoc`, installed on your system. **The minimum required version of the C Driver is 1.15.3**. | ||
| ### Step 1: Install required system libraries (Linux Only) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
libmongoc only lists dependencies for linux, since I think the tls stuff is built into SecureTransport and macos appears to ship with sasl2.
kmahar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but instead of merging this into master can you merge it into 1.0.0-rc-changes? and then just before the release we can merge that branch into master
SWIFT-696